package com.baor.finance.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baor.common.annotation.Excel;
import com.baor.common.core.domain.BaseEntity;

/**
 * 财务流水对象 t_flow
 * 
 * @author ruoyi
 * @date 2025-07-18
 */
public class TFlow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账单Id */
    private Long flowId;

    /** 0.支付 1.转账*/
    @Excel(name = "0.支付 1.转账")
    private Long flowType;

    /** 账单金额 */
    @Excel(name = "账单金额")
    private Long flowCount;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 对应的订单Id（支付类型） */
    @Excel(name = "对应的订单Id", readConverterExp = "支=付类型")
    private Long orderId;

    /** 账单说明 */
    @Excel(name = "账单说明")
    private String flowExplain;

    /** 删除标识（0未删除，1已删除）
 */
    @Excel(name = "删除标识", readConverterExp = "0=未删除，1已删除")
    private Long delFalg;

    public void setFlowId(Long flowId) 
    {
        this.flowId = flowId;
    }

    public Long getFlowId() 
    {
        return flowId;
    }

    public void setFlowType(Long flowType) 
    {
        this.flowType = flowType;
    }

    public Long getFlowType() 
    {
        return flowType;
    }

    public void setFlowCount(Long flowCount)
    {
        this.flowCount = flowCount;
    }

    public Long getFlowCount()
    {
        return flowCount;
    }

    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setFlowExplain(String flowExplain) 
    {
        this.flowExplain = flowExplain;
    }

    public String getFlowExplain() 
    {
        return flowExplain;
    }

    public void setDelFalg(Long delFalg) 
    {
        this.delFalg = delFalg;
    }

    public Long getDelFalg() 
    {
        return delFalg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("flowId", getFlowId())
            .append("flowType", getFlowType())
            .append("flowCount", getFlowCount())
            .append("creatTime", getCreatTime())
            .append("orderId", getOrderId())
            .append("flowExplain", getFlowExplain())
            .append("delFalg", getDelFalg())
            .toString();
    }
}
